using System;
using System.Collections.Generic;
using System.Text;
using GwtRpcNet.Service;

namespace org.gwtrpcnettest.client
{
    public class GWTNetTestService : GwtRpcNetRemoteService
    {
        public Person doPerson(Person p)
        {
            p.Name = "Anneleentje";
            return p;
        }
    }

    public class Person
    {
        public string name;

        public string Name
        {
            get { return name; }
            set { name = value; }
        }
        public string email;

        public string Email
        {
            get { return email; }
            set { email = value; }
        }

        public int age;
        public int Age
        {
            get { return age; }
            set { this.age = value; }
        }

        /*public IList list;

        public IList List
        {
            get { return list; }
            set { list = value; }
        }*/

        public Person()
        {
        }


    }
}
